#!/bin/bash
cur_dir=`pwd`

docker stop mysql8.0
docker rm mysql8.0
docker run --name mysql --restart=always \
    -v `pwd`/conf:/etc/mysql/conf.d \
    -v /home/data/mysql8/data/:/var/lib/mysql \
    -p 3388:3306 \
    -e MYSQL_ROOT_PASSWORD="0987654321!" \
    -e TZ=Asia/Shanghai \
    -d mysql:8.0.19
